<form method="post" action="" class="pageForm required-validate">
	<div class="pageContent">
		<div class="pageFormContent">
			<fieldset>
				<dl>
					<dt><@label key='productionControlNum.C,colon'>生产管理号：</@label></dt>
					<dd>
						<input type="text" name="productionControlNum" value="${productionControl.productionControlNum!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='productionOrderNum.C,colon'>生产订单编号：</@label></dt>
					<dd>
						<input type="text" name="productionOrderNum" value="${productionControl.productionOrderNum!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='orderStatusECode.C,colon'>订单状态：</@label></dt>
					<dd>
					<input type="text" name="productionOrderNum" value="<#if orderStatusECode??><#list orderStatusECode as ecode><#if productionControl.statuseCode == ecode.eCode>${ecode.eCodeText!''}</#if></#list></#if>" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='orderType.C,colon'>订单类型：</@label></dt>
					<dd>
						<input type="text" name="orderTypeCode" value="${productionControl.orderTypeText!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='materialCode.C,colon'>物料编号：</@label></dt>
					<dd>
						<input name="materialCode" value="" type="hidden" /> <input name="materialCode" type="text" postField="componentText" value="${productionControl.materialCode!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='materialText.C,colon'>物料名称：</@label></dt>
					<dd>
						<input name="materialText" type="text" value="${productionControl.materialText!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key="cmprocess_code.C,colon">工艺编号：</@label></dt>
					<dd>
						<input name="processCode" type="text" value="${productionControl.processCode!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key="cmprocessrev.C,colon">工艺版本：</@label></dt>
					<dd>
						<input name="processRev" type="text" value="${productionControl.processRev!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedQuantity.C,colon'>计划数量</@label></dt>
					<dd>
						<input type="text" name="plannedQuantity" class=number " readonly="readonly" value="${productionControl.plannedQuantity!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='requirementDate.C,colon'>需求日期：</@label></dt>
					<dd>
						<input type="text" name="requirementDate" readonly="readonly" value="${(productionControl.requirementDate?string('yyyy-MM-dd'))?if_exists}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='productionlotNum.C,colon'>生产批次号：</@label></dt>
					<dd>
						<input type="text" name="productionlotNum" value="${productionControl.productionlotNum!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedstartDateTime.C,colon'>计划开始时间：</@label></dt>
					<dd>
						<input type="text" name="plannedstartDateTime" value="${(productionControl.plannedstartDateTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='plannedendDateTime.C,colon'>计划结束时间：</@label></dt>
					<dd>
						<input type="text" name="plannedendDateTime" value="${(productionControl.plannedendDateTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='actualstartDateTime.C,colon'>实际开始时间：</@label></dt>
					<dd>
						<input type="text" name="actualstartDateTime" value="${(productionControl.actualstartDateTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='actualendDateTime.C,colon'>实际结束时间：</@label></dt>
					<dd>
						<input type="text" name="actualendDateTime" value="${(productionControl.actualendDateTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt>耗时：</dt>
					<dd>
						<input type="text" name="takeTime" value="${productionControl.takeTime!''}" readonly="readonly" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='completedQuantity.C,colon'>完工数量：</@label></dt>
					<dd>
						<input type="text" name="completedQuantity" class=" number" readonly="readonly" value="${productionControl.completedQuantity!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='scrappedQuantity.C,colon'>报废数量：</@label></dt>
					<dd>
						<input type="text" name="scrappedQuantity" class="number" readonly="readonly" value="${productionControl.scrappedQuantity!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='repairQuantity.C,colon'>返修数量：</@label></dt>
					<dd>
						<input type="text" name="repairQuantity" class=" number" readonly="readonly" value="${productionControl.repairQuantity!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='customer.C,colon'>客户：</@label></dt>
					<dd>
						<input type="text" name="customer" readonly="readonly" value="${productionControl.customer!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='customerOrder.C,colon'>客户订单：</@label></dt>
					<dd>
						<input type="text" name="customerOrder" readonly="readonly" value="${productionControl.customerOrder!''}" />
					</dd>
				</dl>
				<dl>
					<dt><@label key='priority.C,colon'>优先级：</@label></dt>
					<dd>
						<input type="text" name="priority" readonly="readonly" value="${productionControl.priority!''}" />
					</dd>
				</dl>
                <dl>
                    <dt></dt>
                    <dd>
                        <label style="width: 80px;"><input disabled="disabled" type="checkbox" name="operationScheduleFlag" value="1"
                        <#if (productionControl.operationScheduleFlag)?? && (productionControl.operationScheduleFlag == 1)>checked="true"</#if>>
                        <@label key="operationScheduleFlag.C">工序派工</@label></label>
                    </dd>
                </dl>
            </fieldset>
		</div>
		<#assign createInfo=productionControl/> <#include "/common/createInfo.html">
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="button" class="close">关闭</button>
						</div>
					</div>
				</li>
			</ul>
		</div>

	</div>
</form>
